package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Question;
import cn.wolfcode.luowowo.common.query.QueryObject;
import cn.wolfcode.luowowo.common.query.QuestionQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by Administrator on 2019/7/19.
 */
public interface IQuestionService {

    void delete(Long id);

    void saveOrUpdate(Question question);

    List<Question> listAll();
    Question get(Long id);

    PageInfo query(QuestionQueryObject qo);

    void changeState(Question question);
}
